package com.warm.demo.mf.convert;

import com.warm.demo.mf.api.dto.TestCommonDto;
import com.warm.demo.mf.api.vo.TestCommonVo;
import com.warm.demo.mf.domain.TestCommon;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 常规演示对象转换器
 *
 * @author warm
 */
@Mapper
public interface TestCommonC {

    TestCommonC testCommonC = Mappers.getMapper(TestCommonC.class);

    TestCommon convert(TestCommonDto dto);

    TestCommonVo convert(TestCommon entity);

}
